#pragma once

#pragma unmanaged

#include <BWSAL\BuildingPlacer.h>

#pragma managed

#include "IReservedMap.h"

namespace BroodWar
{
	namespace Addon
	{
		public interface class IBuildingPlacer
		{
			TilePosition^ FindBuildLocation(IReservedMap^ reserveMap, Api::Enum::UnitType unitType, TilePosition^ seedLocation, Unit^ builder);
			TilePosition^ FindBuildLocation(IReservedMap^ reserveMap, Api::Enum::UnitType unitType, TilePosition^ seedLocation);
		};

		BWSAL::BuildingPlacer* GetBuildingPlacer(IBuildingPlacer^ placer);
	}
}
